<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>客房页面</title>
</head>
<body>
	<%	
		String roomName = request.getParameter("sRoomName");
	%>
<div>
	<form action="room/updateFacility.action" method="post" id="form">
		<table>
			<tr>
				<td>房号</td><td><input type="hidden" class="roomName" name="sRoomName" value="<%=roomName%>"/> <%=roomName%></td>
			</tr>
			<tr>
				<td>灯泡</td>
				<td><input type="radio" class="light" name="iLight" value="1" checked="checked">正常 <input type="radio" class="light" name="iLight" value="-1">损坏</td>
			
				<td>电脑</td>
				<td><input type="radio" class="computer" name=iComputer value="1" checked="checked">正常 <input type="radio" class="computer" name="iComputer" value="-1">损坏</td>
			</tr>
			<tr>
				<td>灭火器</td>
				<td><input type="radio" class="extinguisher" name="iExtinguisher" value="1" checked="checked">正常 <input type="radio" class="extinguisher" name="iExtinguisher" value="-1">损坏</td>
			
				<td>淋浴</td>
				<td><input type="radio" class="shower" name="iShower" value="1" checked="checked">正常 <input type="radio" class="shower" name="iShower" value="-1">损坏</td>
			</tr>
			<tr>
				<td>空调</td>
				<td><input type="radio" class="airCondition" name="iAirCondition" value="1" checked="checked">正常 <input type="radio" class="airCondition" name="iAirCondition" value="-1">损坏</td>
			
				<td>床上用品</td>
				<td><input type="radio" class="bedding" name="iBedding" value="1" checked="checked">正常 <input type="radio" class="bedding" name="iBedding" value="-1">损坏</td>
			</tr>
			<tr>
				<td>电视</td>
				<td><input type="radio" class="TV" name="iTV" value="1" checked="checked">正常 <input type="radio" class="TV" name="iTV" value="-1">损坏</td>
			
				<td>沙发</td>
				<td><input type="radio" class="sofa" name="iSofa" value="1" checked="checked">正常 <input type="radio" class="sofa" name="iSofa" value="-1">损坏</td>
			</tr>
			<tr>
				<td>备注</td>
				<td><input type="text" class="message" name="sMessage" value="" style="width:300px "/></td>
			</tr>
			<tr>
				<td><input type="submit" id="submit" value="确认"/></td>
			</tr>
		</table>
	</form>
</div>
</body>
</html>